package AbstractFactory.factory;

import AbstractFactory.pc.ApplePC;
import AbstractFactory.pc.PC;
import AbstractFactory.phone.ApplePhone;
import AbstractFactory.phone.Phone;

/**
 * @author: HenryDai
 * @Date: 2022/05/02 14:39
 * @description:
 */
public class AppleFactory implements AbstractFactory {
    @Override
    public Phone makePhone() {
        return new ApplePhone();
    }

    @Override
    public PC makePC() {
        return new ApplePC();
    }
}
